package com.zhang.member.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zhang.member.dto.UserPostsSearchDTO;
import com.zhang.member.entity.UserPosts;
import com.zhang.member.vo.UserPostListVO;
import com.zhang.member.vo.UserPostsInfoVO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;


@Mapper
public interface UserPostsMapper extends BaseMapper<UserPosts> {

    List<UserPostListVO> getUserPostsList(UserPostsSearchDTO dto);

    UserPostsInfoVO getUserPostsInfoVOById(String userPostsId);

    void AddShowCount(String userPostsId);
}
